Repository navigation
docs(gpu-operator): add 26.7.3 known issue for user-namespace pods with toolkit 1.20.2 - #550
Open
mikemckiernan wants to merge 2 commits into
Open
mikemckiernan wants to merge 2 commits into
mikemckiernan wants to merge 2 commits into
Conversation
…th toolkit 1.20.2 Signed-off-by: Mike McKiernan <mmckiernan@nvidia.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Documentation preview |
Toolkit issue #648 is fixed. Scope the v26.7.3 known issue to pods that receive GPUs through CDI, not only pods that use the NVIDIA runtime class. Signed-off-by: Mike McKiernan <mmckiernan@nvidia.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
| Known Issues | ||
| ************ | ||
|
|
||
| Pod specifications that set ``spec.hostUsers: false`` to enable Kubernetes user namespaces are not supported. |
Contributor
There was a problem hiding this comment.
🔍 User namespace runtime prerequisite
The CDI hook fix relies on crun 1.27 or later. Check whether supported deployments still use older versions and need a narrower compatibility note.
Was this helpful? React with 👍 or 👎 to provide feedback.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GPU Operator v26.7.3 deploys NVIDIA Container Toolkit v1.20.2. Toolkit v1.20.2 adds a
voidvolume mount of/dev/nullto every CDI spec that it generates. When a pod setsspec.hostUsers: false, the CDI library (container-device-interface v1.1.0 and later) adds an ID map to the bind mount. devtmpfs rejects the ID map, so the pod fails withfailed to set MOUNT_ATTR_IDMAP on /dev/null: invalid argument(NVIDIA/nvidia-container-toolkit#2226).The failure is not limited to the
nvidiaruntime class. Native CDI injection in containerd v2.4.x and CRI-O v1.37.x uses CDI library v1.1.1, so device-plugin GPU pods should hit the failure too. This is inferred from the source and has not been reproduced.Changes:
gpu-operator/release-notes.rst: adds a v26.7.3 known issue for pods that sethostUsers: falseand receive GPUs through CDI. The known issue recommends toolkit v1.20.3 (--set toolkit.version=v1.20.3orspec.toolkit.version). The fix is Ignore volume mounts if void device requested through envvar nvidia-container-toolkit#2236 / #2238.gpu-operator/cdi.rst: removes the Known Issues section that saidhostUsers: falsepods are not supported. That limitation cited toolkit issue #648, which toolkit PR #1971 fixed in v1.20.1.Before merging
nvcr.io/nvidia/k8s/container-toolkit.Companion PR documents toolkit 1.20.3.
Link to Devin session: https://nvidia-cloud.devinenterprise.com/sessions/0b88f95cbd28449a97bbdd98a629bd09
Open in Devin Desktop: https://nvidia-cloud.devinenterprise.com/desktop/session/0b88f95cbd28449a97bbdd98a629bd09?variant=devin
Requested by: @mikemckiernan